package com.lottery.common.service.Impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lottery.common.entity.ForecastInfo;
import com.lottery.common.dao.ForecastInfoMapper;
import com.lottery.common.entity.MemberInfo;
import com.lottery.common.service.ForecastInfoService;
import org.nutz.lang.util.NutMap;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-11-04
 */
@Service
public class ForecastInfoServiceImpl extends ServiceImpl<ForecastInfoMapper, ForecastInfo> implements ForecastInfoService {
    @Resource
    private ForecastInfoMapper forecastInfoMapper;

    @Override
    public IPage<ForecastInfo> getForecastList(Page page, NutMap nutMap) {
        return forecastInfoMapper.getForecastList(page,nutMap);
    }

    @Override
    public ForecastInfo selectForecastInfo(NutMap nutMap) {
        return forecastInfoMapper.selectForecastInfo(nutMap);
    }
}
